ChatLogPage

fun ChatLogPage(modifier: Modifier = Modifier, logId: String, onNavigateBack: () -> Unit, viewModel: ChatbotViewModel = hiltViewModel(), openDrawer: () -> Unit)

Composable, displays a ChatLog page that shows previously saved/completed cognitive behavioral therapy activities. This page includes the top app bar and content of the log.

Parameters

modifier

Modifier to be applied to the root composable

logId

ID of the log to be displayed

onNavigateBack

Lambda to handle the navigation back

viewModel

ViewModel to fetch the log data

openDrawer

Lambda to open the navigation drawer